#pragma once

#include "entity.h"

class CEmitter;

class CSlow : public CEntity
{
private:
	CEmitter* pParticles;
	float fSlowDuration;
	float fSlowAmount;
	float fTimer;
	
public:
	CEmitter* GetParticles() const { return pParticles; }
	float GetSlowDuration() const { return fSlowDuration; }
	float GetSlowAmount() const { return fSlowAmount; }
	float GetTimer() const { return fTimer; }

	void SetParticles(CEmitter* val) { pParticles = val; }
	void SetSlowDuration(float val) { fSlowDuration = val; }
	void SetSlowAmount(float val) { fSlowAmount = val; }
	void SetTimer(float val) { fTimer = val; }

	virtual void Update(float fElapsedTime) override;
	virtual void Render() override;
};

